package com.sky.his.api.async;

import com.sky.his.api.mis.service.CheckupReportService;
import org.springframework.scheduling.annotation.Async;

import javax.annotation.Resource;

/**
 * @Author: WangJiYou
 * @Date: 2024/12/21/14:19
 * @Description:
 */
public class CheckupWorkAsync {

    @Resource
    private CheckupReportService checkupReportService;

    @Async("AsyncTaskExecutor")
    public void createReport(Integer id) {
        checkupReportService.createReport(id);
    }
}
